package com.suzhe.ymall.common.enums;

public enum TopicEnum {

    PAY_SUCCESS("支付成功"),
    ORDER_ROLLBACK("订单回滚"),
    SCHEDULED_ORDER("延迟订单"),
    ORDER_SUCCESS("订单成功");

    private final String desc;


    TopicEnum(String desc){
        this.desc = desc;
    }

    public String desc(){
        return desc;
    }

    public String value(){
        return this.name();
    }

}
